﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ElfTyping.States.StoryState
{
    public class SetShowingPortraitsAction : StoryAction
    {
        bool IsShowingPortraits;

        public SetShowingPortraitsAction(StoryState storyState, bool isShowingPortraits)
            : base(storyState)
        {
            IsShowingPortraits = isShowingPortraits;
        }

        public override void OnEnd()
        {
            StoryState.AreBigPortraitsVisible = IsShowingPortraits;

            base.OnEnd();
        }
    }
}
